/**
 * @namespace
 * @desc SC 은행 Common 라이브러리의 Store 네임스페이스
 */

ScLibs.Store = {

};


/**
 * @static
 * @function
 * @memberof ScLibs.Store
 * @param {String} key
 * @param {String} value
 * @desc Set, get, or list persistent values.
 * @example
 * ScLibs.Store.sessionStorage('key', 'value');  // set
 * @example
 * ScLibs.Store.sessionStorage('key');           // get
 * @example
 * ScLibs.Store.sessionStorage();                // list
 */
ScLibs.Store.sessionStorage = function () {
    return amplify.store.sessionStorage.apply(this, arguments);
};


/**
 * @static
 * @function
 * @memberof ScLibs.Store
 * @param {String} key
 * @param {String} value
 * @desc Set, get, or list persistent values.
 * @example
 * ScLibs.Store.localStorage('key', 'value');  // set
 * @example
 * ScLibs.Store.localStorage('key');           // get
 * @example
 * ScLibs.Store.localStorage();                // list
 */
ScLibs.Store.localStorage = function () {
    return amplify.store.localStorage.apply(this, arguments);
};


/**
 * @static
 * @function
 * @memberof ScLibs.Store
 * @param {String} key
 * @param {String} value
 * @desc Set, get, or list persistent values.
 * @example
 * ScLibs.Store.memory('key', 'value');  // set
 * @example
 * ScLibs.Store.memory('key');           // get
 * @example
 * ScLibs.Store.memory();                // list
 */
ScLibs.Store.memory = function () {
    return amplify.store.memory.apply(this, arguments);
};
